/// data : [{"id":1,"outId":1,"picture":"https://dimg01.c-ctrip.com/images/0102f120008ybqaayB504_C_1600_1200.jpg","classify":0},{"id":4,"outId":1,"picture":"https://dimg07.c-ctrip.com/images/01068120008ybqj249C68_C_1600_1200.png","classify":0},{"id":5,"outId":1,"picture":"https://dimg02.c-ctrip.com/images/0102l120008ybqde25778_C_1600_1200.jpg","classify":0}]
/// status : 200
/// msg : "ok"

class Picture {
  Picture({
      List<PictureItem>? data,
      int? status, 
      String? msg,}){
    _data = data;
    _status = status;
    _msg = msg;
}

  Picture.fromJson(dynamic json) {
    if (json['data'] != null) {
      _data = [];
      json['data'].forEach((v) {
        _data?.add(PictureItem.fromJson(v));
      });
    }
    _status = json['status'];
    _msg = json['msg'];
  }
  List<PictureItem>? _data;
  int? _status;
  String? _msg;

  List<PictureItem>? get data => _data;
  int? get status => _status;
  String? get msg => _msg;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (_data != null) {
      map['data'] = _data?.map((v) => v.toJson()).toList();
    }
    map['status'] = _status;
    map['msg'] = _msg;
    return map;
  }

}

/// id : 1
/// outId : 1
/// picture : "https://dimg01.c-ctrip.com/images/0102f120008ybqaayB504_C_1600_1200.jpg"
/// classify : 0

class PictureItem {
  PictureItem({
      int? id, 
      int? outId, 
      String? picture, 
      int? classify,}){
    _id = id;
    _outId = outId;
    _picture = picture;
    _classify = classify;
}

  PictureItem.fromJson(dynamic json) {
    _id = json['id'];
    _outId = json['outId'];
    _picture = json['picture'];
    _classify = json['classify'];
  }
  int? _id;
  int? _outId;
  String? _picture;
  int? _classify;

  int? get id => _id;
  int? get outId => _outId;
  String? get picture => _picture;
  int? get classify => _classify;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['outId'] = _outId;
    map['picture'] = _picture;
    map['classify'] = _classify;
    return map;
  }

}